auto merge of #700 : alexcrichton/cargo/issue-697, r=brson
authorbors <bors@rust-lang.org>
Tue, 14 Oct 2014 23:44:54 +0000 (23:44 +0000)
committerbors <bors@rust-lang.org>
Tue, 14 Oct 2014 23:44:54 +0000 (23:44 +0000)
commit6ad622f5bb1158c5284a5cd709d0cc8f7a81ee75
tree6d2c2fa52a337deb0b50bea7ec7d12cd1033798f
parent4a8274917e0bbaaf8ebf09524a4e9b9169902fdb
parentc2e999601161673f738302e727adbc7a06c1539a
auto merge of #700 : alexcrichton/cargo/issue-697, r=brson

When a source has multiple crates inside of it, `cargo update -p foo` would
previously not actually update anything because the extra crates were continuing
to lock the source to the same revision. This change updates the "avoid me"
logic to avoid *sources*, not *packages*.

Closes #697